<%-- 
    Document   : listaVoo
    Created on : 26/04/2012, 17:37:40
    Author     : guardezi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        
        <style type='text/css'>
        body { 
            background-image: url('img1.jpg');
            /*background-repeat: no-repeat;
            backgroubd-position: center;*/
            color: #FFCC33;
            
        }
        h1{
            color: #FFCC33;
            text-align: center;
        }
    </style>
        
    </head>
    <body>
        <h1>Voos Disponiveis</h1><hr />
        
        <c:forEach items="${vooList}" var="v">
        Prefixo:     ${v.vooPrefixo}<br />
        Descricao:   ${v.vooDescricao}  <br/>
	Hora Saida:  ${v.vooHrSaida} <br />
        Hora Chegada:${v.vooHrChegada}<br/>
        <a href="<c:url value="/listapoltronas/${v.vooCodigo}"/>">Listar Poltronas</a>
        <a href="<c:url value="/listapoltronascompradas/${v.vooCodigo}"/>">Listar Poltronas Compradas</a>
        <a href="<c:url value="/listapoltronasconfirmadas/${v.vooCodigo}"/>">Listar Poltronas Confirmadas</a>
        </br>
        -------------------------------------</br>
	</c:forEach>
        <hr/>
        <a  href="<c:url value="/index"/>">Pagina Inicial</a><br/>
    </body>
</html>
